//
//  SEGPhoneRechargeView.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/2/28.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SEGPhoneRechargeViewDelegate <NSObject>
/**
 *  显示确认界面
 */
- (void)showConfirmViewWithPhone:(NSString *)phoneNumber;
/**
 *  显示联系客服
 */
- (void)contactCustomerService;
@end

@interface SEGPhoneRechargeView : UIScrollView <UITextFieldDelegate>

@property (nonatomic, assign) id<SEGPhoneRechargeViewDelegate> viewDelegate;

@property (nonatomic, retain) UIView *contentView;
@property (nonatomic, retain) UIImageView *topBgView;
@property (nonatomic, retain) UIView *fillView;//中间的填写视图
@property (nonatomic, retain) UITextField *phoneText;

@property (nonatomic, retain) UIView *finishView;//完成后的中间视图
@property (nonatomic, retain) UILabel *descLabel;//完成描述
@property (nonatomic, retain) UIButton *contactServiceButton;//联系客服

@property (nonatomic, retain) UIImageView *adImageView;//底部广告图片

//提交完成 显示完成界面
- (void)showFinishViewWithApplyTime:(NSString *)applyTime;
- (void)updateAdImageWithString:(NSString *)string;

@end
